package org.example.admin.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author 小杰_cc
 * @version 1.0
 */
@Data
public class LoginDto {
    @NotNull(message = "用户名不能为空")
    private String username;
    @NotNull(message = "用户密码不能为空")
    private String password;
    @NotNull(message = "验证码标识不能为空")
    private String captchaKey;
    @NotNull(message = "验证码不能为空")
    private String captchaText;
}